import React from "react";
import ReactDOM from "react-dom/client";
import { HashRouter as Router } from "react-router-dom";
import { Provider } from "react-redux";
import zhCN from "antd/es/locale/zh_CN";
import { ConfigProvider } from "antd";
import { store } from "@/store";
import App from "@/App";

ReactDOM.createRoot(document.getElementById("root") as Element).render(
    <ConfigProvider locale={zhCN}>
        <Provider store={store}>
            <Router>
                <App></App>
            </Router>
        </Provider>
    </ConfigProvider>
);
